Evaluate the definite integral $\int_{0}^{\pi}\left(\sin ^{2} \frac{x}{2}-\cos ^{2} \frac{x}{2}\right) d x$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(C) Let $I = \int_{0}^{\pi} \left(\sin ^{2} \frac{x}{2} - \cos ^{2} \frac{x}{2}\right) d x$.
We know the trigonometric identity $\cos 2\theta = \cos^2 \theta - \sin^2 \theta$.
Therefore,$\cos x = \cos^2 \frac{x}{2} - \sin^2 \frac{x}{2}$.
Substituting this into the integral,we get:
$I = \int_{0}^{\pi} -(\cos^2 \frac{x}{2} - \sin^2 \frac{x}{2}) d x$
$I = -\int_{0}^{\pi} \cos x d x$.
The integral of $\cos x$ is $\sin x$.
$I = -[\sin x]_{0}^{\pi}$
$I = -(\sin \pi - \sin 0)$
Since $\sin \pi = 0$ and $\sin 0 = 0$,
$I = -(0 - 0) = 0$.

Explore More

Similar Questions

Let $\lim _{c \rightarrow 0} \int_c^x \frac{b t \cos 4 t - a \sin 4 t}{t^2} d t = \frac{a \sin 4 x}{x} - 1$. Find the values of $a$ and $b$.

If $f(x) = \begin{cases} \sqrt{1-x} & 0 \leqslant x \leqslant 1 \\ (7x-6)^{-1/3} & 1 < x \leqslant 2 \end{cases}$,then $\int_{0}^{2} f(x) dx$ is equal to

The value of $\int_0^1 \frac{x^4 + 1}{x^2 + 1} \, dx$ is

If $I_n = \int_0^{\pi/4} \tan^n \theta \, d\theta$ for $n = 1, 2, 3, \ldots$,then $I_{n-1} + I_{n+1}$ is equal to

$\int_{-1}^2 |x| \, dx =$

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo